﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace OnlineManagement.Web.Com
{
    public class HoggeryLog
    {
        public HoggeryLog() {
            //BusinessLogDate在数据库中为datetime类型，不能为空，修复bug
            BusinessLogDate = DateTime.Now;
        }
        public int HoggeryID { get; set; }
        public string UserName { get; set; }
        public string PigId { get; set; }
        /// <summary>
        /// --日志类型，比如:母猪妊娠检查，发情检查
        /// </summary>
        public string LogType { get; set; }
        /// <summary>
        /// 记录原因，比如流产原因
        /// </summary>
        public string LogComment { get; set; }
        /// <summary>
        /// --消息信息,比如:流产，反情
        /// </summary>
        public string Message { get; set; }
        /// <summary>
        /// --业务日志记录时间,一般由用户输入
        /// </summary>
        public DateTime BusinessLogDate { get; set; }
    }
}